package com.kmzx.one.project.mapper;

import com.kmzx.one.project.entity.RankTab;
import com.kmzx.one.project.others.dto.FansInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface RankTabMapper {
    RankTab selectByPrimaryKey(String rankId);

    List<RankTab> selectAllRankTab();

    List<FansInfo> getAllFans(@Param("nickName") String nickName);

    String getFromId(@Param("userId") String userId);

}
